<?php

declare(strict_types=1);

/**
 * @Author:     Frank
 * @contact     frank_hhm@163.com
 * @Date:       2023-02-21 09:34:24
 * @Last Modified time: 2023-02-21 09:49:28
 */
namespace app\api\controller\store;	
use think\facade\App;
use app\common\services\store\ExpressCompanyService;

/**
 * Class ExpressCompany
 */
class ExpressCompany extends \app\api\controller\Base
{ 	
    /**
     * ExpressCompanyService constructor.
     * @param App $app
     */
    public function __construct(App $app,ExpressCompanyService $service)
    {
        parent::__construct($app);
        $this->service = $service;
    }

    /**
     * 物流公司数据
     * @method(GET)
     */
    public function select()
    {
        $this->success($this->service->getExpressCompanySelect([
            'status'=>1
        ]));
    }

}
